package org.study.fastmybatis.boot.service;

import com.gitee.fastmybatis.core.support.LambdaService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.study.fastmybatis.boot.mapper.StudentMapper;
import org.study.fastmybatis.boot.model.Student;

/**
 * 方式1：继承BaseLambdaService<Student, StudentMapper>抽象类
 * 方式2：实现LambdaService<Student, StudentMapper>接口
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2025年11月20日
 */
@Slf4j
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@Service
// public class StudentServiceImpl extends BaseLambdaService<Student, StudentMapper> implements StudentService {
public class StudentServiceImpl implements StudentService, LambdaService<Student, StudentMapper> {
    private final StudentMapper studentMapper;
}
